<?php
session_start();
header('Content-Type: application/javascript');
?>
var check_login = false;
<?php
if( (isset($_SESSION['username'])) && ($_SESSION['username']) )
	echo 'check_login=true;';

?>
 if(check_login == false)
	window.location.href='http://shop.autohit.bg';
